#include <cstdlib>
#include <iostream>
int retourneDeux()
{
    return 2;
}
bool testVar(int pVar)
{
    bool lRetour;
    lRetour = 0;
    if(pVar == retourneDeux())
    {
        lRetour = 1;
    }
    return lRetour;
}
int main(int, char**)
{
    int lVar;
    bool lTest;
    lTest = 1;
    lVar = 0;
    while(lVar <= 3)
    {
        std::cout << lVar << std::endl;
        if(testVar(lVar))
        {
            if(lTest)
            {
                std::cout << 42 << std::endl;
            }
        }
        lVar = lVar + 1;
    }
    return EXIT_SUCCESS;
}
